home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / IFF / IFF_Forms / PRSP.doc < prev    next >
Encoding:
Text File  |  1993-03-01  |  1019 b   |  28 lines

  1. DPaint IV perspective move form (EA)
  2.  
  3. Submitted by Lee Taran
  4.  
  5. /* ----------------------------------------------------------------------- 
  6.    IFF Information:
  7.        PRSP ::= "FORM" # {"PSRP" MOVE }
  8.        MOVE ::= "MOVE" # { MoveState  }
  9.  * ---------------------------------------------------------------------- */
  10. typedef struct {
  11.    BYTE reserved;         /* initialize to 0 */
  12.    BYTE moveDir;          /* 0 = from point  1 = to point  */
  13.    BYTE recordDir;        /* 0 = FORWARD,    1 = STILL, 2 = BACKWARD */
  14.    BYTE rotationType;     /* 0 = SCREEN_RELATIVE, 1 = BRUSH_RELATIVE */
  15.    BYTE translationType;  /* 0 = SCREEN_RELATIVE, 1 = BRUSH_RELATIVE */
  16.    BYTE cyclic;           /* 0 = NO, 1 = YES */
  17.    SHORT distance[3];     /* x,y,z distance displacement */
  18.    SHORT angle[3];        /* x,y,z rotation angles */
  19.    SHORT nframes;         /* number of frames to move */
  20.    SHORT easeout;         /* number of frames to ease out */
  21.    SHORT easein;          /* number of frames to ease in */
  22.    } MoveState;
  23.  
  24.  
  25.  
  26.  
  27.  
  28.